package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    void saveData(String name,Integer age,String sex);

    void saveDataByPojo(MybatisReviewVO user);

    void update(MybatisReviewVO user);

    void remove(Long id);

    Review getDataById(Long id);

    List<Review> getDataByPage();

}
